package com.mail.dubbo.api;

import com.mail.model.db.UmsResourceCategory;

import java.util.List;

/**
 * @author 吕永乐
 * @date 2022/06/23 11:34
 **/
public interface UmsResourceCategoryApi {
	/**
	 * 查询所有后台资源分类
	 * @return
	 */
	List<UmsResourceCategory> getAll();

    void create(UmsResourceCategory category);

    void deleteCategoryById(Long id);

	void updateCategoryById(Long id, UmsResourceCategory resourceCategory);
}
